package com.czy.basecommon.utils.tools;

import android.text.TextUtils;

/**
 * @author Jake Han
 */
public class JudgeTool {

    public static boolean isValidStaff(String PIN,String QRCode){
        boolean flag;
        if (TextUtils.isEmpty(PIN)&&TextUtils.isEmpty(QRCode)){
            flag = false;
        }else {
            flag = true;
        }
        return flag;
    }


    public static boolean isValidPointSize(int num,int total){
        boolean flag;
        if (num<1){
            flag = false;
        }else if (num > total){
            flag = false;
        }else {
            flag = true;
        }
        return flag;
    }

}
